﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using DAO;

/// <summary>
/// Summary description for DDatHangBUS
/// </summary>
public class DDatHangBUS
{
	public DDatHangBUS()
	{
		//
		// TODO: Add constructor logic here
		//
	}
    public static bool AddOrders(DDatHangDTO ddhDTO)
    {
        return DDatHangDAO.AddOrders(ddhDTO);
    }
    public static string GetCodeBill()
    {
        return DDatHangDAO.GetCodeBill();
    }
    public static void AddInvoiceDetails(DDatHangDTO ddhDTO)
    {
        DDatHangDAO.AddInvoiceDetails(ddhDTO);
    }
    public static DataTable TakingOrdersListings()
    {
        return DDatHangDAO.TakingOrdersListings();
    }
    public static void EditOrders(DDatHangDTO ddhDTO)
    {
        DDatHangDAO.EditOrders(ddhDTO);
    }
    public static void DeletingOrders(DDatHangDTO ddhDTO)
    {
        DDatHangDAO.DeletingOrders(ddhDTO);
    }
    public static DataTable GetInvoiceDetails(DDatHangDTO ddhDTO)
    {
        return DDatHangDAO.GetInvoiceDetails(ddhDTO);
    }
}